package com.icehand.payment.pay;

import com.icehand.common.enums.PayChannelEnum;
import com.icehand.payment.model.NotifyWrapper;
import com.icehand.payment.model.PayWrapper;

/**
 * @author icehand
 */
public interface Pay {
    /**
     * 支付
     * @param payWrapper wrapper
     */
    void pay(PayWrapper payWrapper);

    /**
     * 支付回调通知
     * @param notifyWrapper wrapper
     */
    void payNotify(NotifyWrapper notifyWrapper);

    /**
     * 支付渠道
     */
    PayChannelEnum getChannel();
}
